{% extends "base.jinja" %}

{% block title %}{{user_home}}的个人空间{% endblock %}
{% block keywords %}{{user_home}},{{site_options.keyword}}{% endblock %}
{% block description %}{{user_home}}的个人空间{% endblock %}

{% block css %},supplier.css{% endblock %}

{% block main %}
    {%- include 'supplier/head.jinja' -%}

	<div class="clearfixed page su-about">
		{% if is_home %}
		<a href="{{domain}}u/setting/biz/" class="inp-btn-pk su-about-fix" target="_blank">完善资料</a>
		{% endif %}
		<div class="sua-map" id="ua-map" data-point="{{supplier_data.map_point|default(':')}}"></div>
		<div class="sua-info">
			<h1>{{supplier_data.company}}</h1>
			<div class="suai-desc">{{supplier_data.content}}</div>
			<ul>
				<li>
					<label>所在城市：</label>
					{{supplier_data.city.province.name}} {{supplier_data.city.name}}
				</li>
				<li>
					<label>营业时间：</label>
					{{supplier_data.business_time}}
				</li>
				<li>
					<label>地址：</label>
					{{supplier_data.address}}
				</li>
				<li>
					<label>E-mail：</label>
					{{supplier_data.email}}
				</li>
				<li>
					<label>联系电话：</label>
					{{supplier_data.business_tel}}
				</li>
				<li>
					<label>官方网站：</label>
					<a href="{{supplier_data.site}}" target="_blank" rel="nofollow">{{supplier_data.site}}</a>
				</li>
				<li>
					<label>微博：</label>
					<a rel="nofollow" target="_blank" href="{{supplier_data.weibo}}">{{supplier_data.weibo}}</a>
				</li>
				<li>
					<label>微信号：</label>
					{{supplier_data.weixin}}
				</li>
			</ul>
		</div>
	</div>
{% endblock %}

{% block script %}
<script>seajs.use('page/user/about', function(p){p.render();});</script>
{% endblock %}